package com.zhiqingchun.dao;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;

import com.zhiqingchun.common.IJdbcBaseDao;

public class BaseDao {

	protected DataSource dataSource;
	
	@Autowired
	private IJdbcBaseDao jdbcBaseDao;

	public IJdbcBaseDao getJdbcBaseDao() {
		return jdbcBaseDao;
	}

	public void setJdbcBaseDao(IJdbcBaseDao jdbcBaseDao) {
		this.jdbcBaseDao = jdbcBaseDao;
	}

	public DataSource getDataSource() {
		return dataSource;
	}

	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}
}
